<?php
defined('SYSPATH') OR die('No direct access allowed.');
/**
 * index.php
 * @author ranuandra
 *
 * 25 Apr 2012 15:41:12
 *
 * 
 */
?>
    	<ul class="sf-menu">
        	<li><a href="<?php URl::base()?>admin/hrd">Home</a></li>
        	<?php 
        	if($role == "admin")
        	{
        	?>
        	<li><a href="#">User Management</a>
        		<ul>
        			<li><a href="<?php echo URl::base()?>admin/role">Role</a></li>
        			<li><a href="<?php echo URl::base()?>admin/user">User</a></li>
        		</ul>
        	</li>
            <li><a href="#">Master</a>
            	<ul>
                	<li>
                    	<a href="#">Pendidikan</a>
                    	<ul>
                        	<li><a href="<?php echo URl::base()?>admin/pendidikan">Jenjang Pendidikan</a></li>
                            <li><a href="<?php echo URl::base()?>admin/jurusan">Jurusan</a></li>
                        </ul>
                    </li> 
                    <li><a href="<?php echo URl::base()?>admin/areaofwork">Area Of Work</a></li>
                    <li><a href="<?php echo URl::base()?>admin/department">Department</a></li>
                    <li><a href="<?php echo URl::base()?>admin/jabatan">Jabatan</a></li>
                    <li><a href="<?php echo URl::base()?>admin/placement">Placement</a></li>        
                    <li><a href="<?php echo URl::base()?>admin/bidang">Bidang</a></li>
                    <li><a href="<?php echo URl::base()?>admin/jabatan">Jabatan</a></li>
                    <li><a href="<?php echo URl::base()?>admin/proses">Proses</a></li>
                    <li><a href="<?php echo URl::base()?>admin/agama">Agama</a></li>
                    <li><a href="<?php echo URl::base()?>admin/posisi">Posisi</a></li>
                    <li><a href="<?php echo URl::base()?>admin/industri">Industri</a></li>
                    <li><a href="<?php echo URl::base()?>admin/spesialisasi">Spesialisasi</a></li>
                </ul>
            </li>
            <li><a href="">Lowongan</a>
            	<ul>
                	<li><a href="<?php echo URl::base()?>admin/lowongan">Daftar Lowongan</a></li>
                	<li><a href="<?php echo URl::base()?>admin/proseslowongan">Proses Lowongan</a></li>
                    <li><a href="<?php echo URl::base()?>admin/lowongan/new">Tambah Lowongan</a></li>
                </ul>
                
            </li>
            <?php 
        	}
        	else 
        	{
        	?>	
            <li><a href="">Lowongan</a>
            	<ul>
                	<li><a href="<?php echo URl::base()?>cabang/lowongan">Daftar Lowongan</a></li>
                	<li><a href="<?php echo URl::base()?>cabang/proseslowongan">Proses Lowongan</a></li>
                </ul>
                
            </li> 
            <?php        		
        	}
            ?>
            <li><a href="../../kontak.html">Kontak</a></li>
            
            <li><a href="<?php echo URl::base()?>admin/home/logout">Logout</a></li>
            
        </ul>